github.com/klauspost/compress/zstd.decoderOptions.limitToCap (field)
9 uses
github.com/klauspost/compress/zstd (current package)
decoder.go#L184: if bb, ok := r.(byter); ok && bb.Len() < d.o.decodeBufsBelow && !d.o.limitToCap {
decoder.go#L370: if d.o.limitToCap && frame.FrameContentSize > uint64(cap(dst)-len(dst)) {
decoder.go#L383: if cap(dst) == 0 && !d.o.limitToCap {
decoder_options.go#L25: limitToCap bool
decoder_options.go#L170: o.limitToCap = b
framedec.go#L339: if d.o.limitToCap {
framedec.go#L343: if !d.o.limitToCap || d.FrameContentSize+uint64(len(dst)) < d.history.decoders.maxSyncLen {
framedec.go#L355: if !d.o.limitToCap && uint64(cap(dst)) < d.history.decoders.maxSyncLen {
framedec.go#L380: if d.o.limitToCap && len(d.history.b) > cap(dst) {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |